kaf24@firebug.cl.cam.ac.uk [Fri, 5 Aug 2005 09:01:30 +0000 (09:01 +0000)]
Instead of queuing messages when the control channels are full, xcs just
does nothing (see ctrl_interface.c:ctrl_chan_write_request()).
The following patch throttles the rate in which consoled writes data to
xcs. With the current values, you get a responsive console but avoid
data corruption in most scenarios.
I'm able to get pretty far in my regression test with this patch. With
higher throttle values I'm able to get even further (but the console
becomes painfully slow).
I implemented proper control channel queuing in xenctld in VM-Tools and
it's pretty nasty stuff. This should prevent corruption for most users
until we can get rid of xcs.
Regards,
Anthony Liguori
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com
kaf24@firebug.cl.cam.ac.uk [Fri, 5 Aug 2005 09:00:50 +0000 (09:00 +0000)]
xc_console is probably too chatty about termios failures since ssh
sessions apparently don't have proper term settings.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 5 Aug 2005 08:59:41 +0000 (08:59 +0000)]
The attached patch:
1. Converts the shutdown driver and xend to use the store instead of
control messages,
2. Includes Anthony's xenstore notification code, and
3. Changes xend so that sysrq's are no longer sent as "special case"
shutdown messages. Store keys are cheap, so making the sysrq
delivery less obscure is good.
I think I have made all of the appropriate modifications to Xend, but
it is complex, so I may have missed something. Comments are welcome.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 18:51:55 +0000 (18:51 +0000)]
Attached are
three patches to fix a problem with Xend starting consoled. consoled
depends on xenstored to be running and xenstored is started on demand in
Xend. The patches change xenstored to manage its own pidfile, and have
xend start actually start up xenstored.
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 17:37:09 +0000 (17:37 +0000)]
Fix my previous patch to the trap-frame creation code
in Xen. I was clobbering an in-use register (AL): use
CH instead.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 16:53:30 +0000 (16:53 +0000)]
Merge
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 16:53:11 +0000 (16:53 +0000)]
Fix event-upcall masking when creating a trap frame
on guest kernel stack. Previously an exception would
clear an already-set mask.
Signed-off-by: Keir Fraser <keir@xensource.com>
akw27@arcadians.cl.cam.ac.uk [Thu, 4 Aug 2005 16:35:35 +0000 (16:35 +0000)]
Blktap updates: request batching, O_DIRECT/AIO support.
This patch changes the blktap code mapping pages to user space to be
faster and to allow page lookups to foreign mapped pages through linux
to do direct io. An AIO test driver on this achieves comparable
performance to the in-kernel block-backend.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
akw27@arcadians.cl.cam.ac.uk [Thu, 4 Aug 2005 15:02:09 +0000 (15:02 +0000)]
Add missing parallax makefile.
Seems to have vanished in the directory shuffle of last month.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
akw27@arcadians.cl.cam.ac.uk [Thu, 4 Aug 2005 14:32:21 +0000 (14:32 +0000)]
Fix two syntax errors in frame-and-sect decoding macros.
Both are in the non-grant-tables cases of
cset
ae51fa1d32b23066c4342bbeb5f4dc401b82ea37.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 13:13:02 +0000 (13:13 +0000)]
Fix iopl() syscall so that we pass LTP's iopl02 test.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 09:00:16 +0000 (09:00 +0000)]
The attached patch removes all of the console handling code from Xend
and changes xm to simply exec /usr/libexec/xen/xc_console.
I've done a pretty good amount of testing and this seems to clear up all
of the Xend console issues in bugzilla.
This is a pretty big change to Xend though with a lot of deleted code so
I'd appreciate if people more familiar with the Xend codebase could look
through it critically.
In addition to the patch, the following files are no longer used:
tools/python/xen/util/console_client.py
tools/python/xen/xend/XendConsole.py
tools/python/xen/xend/server/SrvConsole.py
tools/python/xen/xend/server/SrvConsoleDir.py
tools/python/xen/xend/server/console.py
Regards,
Anthony Liguori
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 08:58:18 +0000 (08:58 +0000)]
Here are another couple of places where 8 sectors/page is assumed,
which I missed in my first patch.
Signed-off-by: Matthew Chapman <matthewc@hp.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 08:57:37 +0000 (08:57 +0000)]
libxenstore (used to access the daemon) should be licensed under LGPL.
There are several people I am aware of interested in writing non-GPL
tools, and this code is trivial, so they'd just end up writing their
own.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kaf24@firebug.cl.cam.ac.uk [Thu, 4 Aug 2005 08:49:45 +0000 (08:49 +0000)]
Merge.
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 21:17:17 +0000 (21:17 +0000)]
Add linux 2.6.12.3 patch
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 16:11:32 +0000 (16:11 +0000)]
Move more drivers to bind_evtchn_to_irqhandler() interface.
The most important ones are all done now.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 14:44:19 +0000 (14:44 +0000)]
On x86, Xen does not claim any serial port unless the user
explicitly specifies a 'com1=' or 'com2=' configuration
string. This prevents users from being surprised when Xen
stops domain0 from accessing serial port registers.
On ia64 we still allow serial ports to get automatically
configured and locked down even if no 'com1' is specified
on the command line. This maintains the default preferred
by the IA64 developers.
Also, the method for specifying 'use existing baud rate'
has changed. Instead of specifying com1=0, you must now
specify e.g., com1=auto
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 12:51:35 +0000 (12:51 +0000)]
Virtual device drivers use new bind_evtchn_to_irqhandler() call
instead of directly interfacing with Linux IRQ subsystem. This
allows them to be used in situations where the IRQ subsystem is
not paravirtualised.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:35:38 +0000 (09:35 +0000)]
MErge.
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:35:16 +0000 (09:35 +0000)]
Merge,
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:34:37 +0000 (09:34 +0000)]
The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip. Due to -Werror,
this breaks builds with gcc-4.0.
Signed-off-by: Josh Triplett <josht@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:33:09 +0000 (09:33 +0000)]
gcc-3.4/ia64 compilation fixes.
The ia64 parts of this patch are already in xen-ia64-unstable.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:32:39 +0000 (09:32 +0000)]
1) Make more functions in io.c static
2) Fix memory leak in domain free
3) Fix error path in read (reported by aq)
4) Move reading of buffer limit to tty reconnect so that changes in
limit take affect more quickly.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:27:27 +0000 (09:27 +0000)]
Merge.
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:22:03 +0000 (09:22 +0000)]
Manual merge.
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 09:11:49 +0000 (09:11 +0000)]
Update -xen config file for net grant tables. Default to 'y' since this is the kernel we want to use on the test CD and we want to have grant tables on by default.
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:06:10 +0000 (09:06 +0000)]
Manula merge.
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:05:46 +0000 (09:05 +0000)]
Fix typo in Linux header file. Totally harmless -- the code
was never actually compiled in to a XenLinux kernel.
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 09:05:29 +0000 (09:05 +0000)]
Modify default Linux 2.6 config files to build for PentiumPro instead of Pentium4. No idea how that ended up being the default.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 08:52:28 +0000 (08:52 +0000)]
Fix automatic toggling of PAE in Linux config files
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 08:25:58 +0000 (08:25 +0000)]
Since we use configs from dist/install/boot in preference to the default configs, update the PAE auto-switcher to work with these too.
Signed-off-by: ian@xensource.com
smh22@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 06:46:53 +0000 (06:46 +0000)]
Don't enable PAE by default just yet.
vh249@arcadians.cl.cam.ac.uk [Wed, 3 Aug 2005 00:07:48 +0000 (00:07 +0000)]
fix netdriver grant table option back to n by default
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 23:13:50 +0000 (23:13 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 23:13:13 +0000 (23:13 +0000)]
Fix migration for SMP guests with 1 vcpu.
Free/setup timer irq on suspend/restore.
Only tested to localhost. Also add initial code for >1 vcpu guests.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
vh249@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 22:57:51 +0000 (22:57 +0000)]
update x86_64 config files for grant table in netdriver
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
djm@kirby.fc.hp.com [Tue, 2 Aug 2005 22:38:45 +0000 (15:38 -0700)]
Fix CONFIG_VTI build
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:32:48 +0000 (19:32 +0000)]
Remove USB front/back from 2.4 build, totally.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:19:16 +0000 (19:19 +0000)]
Update xenstore python bindings for "Implement watching of nodes which don't exist."
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:08:28 +0000 (19:08 +0000)]
Fix SMP save/restore for 1 vcpu by adding suspend/resume functions for SMP.
We have to free_irq the irq vectors for the SMP ipi vectors.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:06:10 +0000 (19:06 +0000)]
Fix unbind_ipi_from_irq - evtchn_to_irq[evtchn] not irq_to_evtchn[evtchn].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:05:00 +0000 (19:05 +0000)]
Add prototype for bind_ipi_on_cpu_to_irq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:04:13 +0000 (19:04 +0000)]
Add prototype for balloon_init_watcher.
Also cleanup balloon_init_watcher whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 18:04:28 +0000 (18:04 +0000)]
Implement watching of nodes which don't exist.
Requires permission check every time event is generated.
Requires generalization of permissions: ask arbitrary number of
parents whether it's OK to tell about node (eg. watching
/dir/subdir/x when /dir is deleted: root permissions will now
determine whether we fire event).
Add test that we don't leak information on whether a file exists
or not.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 18:04:00 +0000 (18:04 +0000)]
Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:59:59 +0000 (17:59 +0000)]
Fix up non-valgrind case to send stderr to file like valgrind case does.
(Having trouble with signal delivery and valgrind, causing spurious test
timeouts)
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:59:20 +0000 (17:59 +0000)]
Don't abort on untranslatable errors: EINVAL and print warning
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
djm@kirby.fc.hp.com [Tue, 2 Aug 2005 17:20:46 +0000 (10:20 -0700)]
Merging with xen-unstable
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:13:11 +0000 (17:13 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:12:36 +0000 (17:12 +0000)]
Fix checkpointing - add save/restore support to the xenbus driver.
- Add xenbus driver suspend/resume functions
- Change xenbus irq to not be shared
- Translate store mfn in suspend record to pfn and back
- Make tools re-introduce the domain to the store
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 16:11:31 +0000 (16:11 +0000)]
Better XenLinux page fault debug output for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 15:42:06 +0000 (15:42 +0000)]
Fixes.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 14:51:06 +0000 (14:51 +0000)]
A few consoled tweaks. It's not worth building by default
right now as it isn;t actually used.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:37:37 +0000 (12:37 +0000)]
Remove some binary files.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:18:47 +0000 (12:18 +0000)]
This is the first patch to move the console code out of Xend and into a
separate daemon. In this patch I've included the daemon and a
front-end. I've also have the console code removed from Xend locally
but I wanted to clarify a few things first before submitting that.
Here's how it works:
1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console
data should be (/console/<domid>/limit) to prevent DoS attacks
Using it is quite simple, just run consoled and use the xc_console
program to connect to the console. It uses syslog for logging.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:18:15 +0000 (12:18 +0000)]
This is the first patch to move the console code out of Xend and into a
separate daemon. In this patch I've included the daemon and a
front-end. I've also have the console code removed from Xend locally
but I wanted to clarify a few things first before submitting that.
Here's how it works:
1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console
data should be (/console/<domid>/limit) to prevent DoS attacks
Using it is quite simple, just run consoled and use the xc_console
program to connect to the console. It uses syslog for logging.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:35:45 +0000 (11:35 +0000)]
Manual merge.
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:34:38 +0000 (11:34 +0000)]
Disable build of pygrub for now - does not build with e2fsprogs-1.35
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:27:58 +0000 (11:27 +0000)]
Fix typo in pygrub code
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:21:11 +0000 (11:21 +0000)]
The attached patch converts the balloon driver and xend to use
xenstore instead of control messages.
Note: Because there is no way to set a watch on a non-existent key,
this patch includes a workaround to account for the fact that dom0's
store keys are not initialized by the tools before it boots.
Signed-off-by: Dan Smith <danms@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:20:12 +0000 (11:20 +0000)]
> to "CONFIG_PAGING_LEVELS >= 3", maybe I forgot to include some
> into the patch ...
Yep, I did, shadow_public.c bits are missing, sorry for trouble.
Gerd
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:08:47 +0000 (11:08 +0000)]
Missing ia64_stubs file for libxc.
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:47:41 +0000 (02:47 -0800)]
Fix calling point for do_softirq, which should only be checked
at the very point back to guest domain. Or else unexpected domain
switch may happen in nested interrupt in Xen.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 10:15:17 +0000 (10:15 +0000)]
Remainder of ACM patch (hgrrrr).
Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:13:02 +0000 (02:13 -0800)]
Fix compilation issue, and then VTI dom0 is up again.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:11:41 +0000 (02:11 -0800)]
Final set of HV change to support multiple domains on VTI.
Signed-off-by Anthony Xu <anthony.xu@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>
Signed-off-by Fred Yang <fred.yang@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:09:24 +0000 (02:09 -0800)]
Add hypercall continuation support, or else dom_mem_op may fail.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:08:00 +0000 (02:08 -0800)]
Disallow reprogram_ac_timer to change itm, since there's only one
hardware timer source on IA64.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
fred@xuni-t01.sc.intel.com [Tue, 2 Aug 2005 10:05:50 +0000 (02:05 -0800)]
Add copyright info.
Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:37:00 +0000 (09:37 +0000)]
The patches below clean-up sHype-related file names in the tools subtree
and security policy-versioning and data structures in the xen subtree
(ACM):
* the very generic tools directory name "policy" is changed to
"security" and the included "policy_tool" to "secpol_tool"
* the single constant POLICY_INTERFACE_VERSION is replaced
by ACM_INTERFACE_VERSION; the security policy headers are
versioned independently since the policy can be supplied
at boot time instead of through the hypervisor interface
Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:31:47 +0000 (09:31 +0000)]
The attached patch adds the support that was only stubbed in to be able
to support having reading the boot loader config when you're using a
whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a
partition.
This reads the partition table in the MBR to find the active partition
and then passes that offset down into the filesystem reading code.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:29:56 +0000 (09:29 +0000)]
* support proper scsi disk name
* xvd now has an official lanana assigned major, use it
Signed-off-by: Jeremy Katz <katzj@redhat.com>
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:26:30 +0000 (09:26 +0000)]
Revert unintended enabling of grant tables for netback/netfront
djm@kirby.fc.hp.com [Mon, 1 Aug 2005 19:19:36 +0000 (12:19 -0700)]
Merge with latest xen-unstable
djm@kirby.fc.hp.com [Mon, 1 Aug 2005 19:11:00 +0000 (12:11 -0700)]
Fix the build on gcc-3.4.x (ia64 files)
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
djm@kirby.fc.hp.com [Mon, 1 Aug 2005 18:00:10 +0000 (11:00 -0700)]
Workaround new call to do_softirq in scrub_heap_pages in common code
vh249@arcadians.cl.cam.ac.uk [Mon, 1 Aug 2005 16:00:17 +0000 (16:00 +0000)]
correct wrong variables pass to the set_pte_at macro.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
smh22@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 10:48:24 +0000 (10:48 +0000)]
Manual merge.
smh22@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 10:45:07 +0000 (10:45 +0000)]
Minor clean ups of time.c and partial build fixes for 2.4
ach61@arcadians.cl.cam.ac.uk [Mon, 1 Aug 2005 10:43:16 +0000 (10:43 +0000)]
PDB: convert ptrace.c and traps.c changes to local patches
kaf24@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 09:26:51 +0000 (09:26 +0000)]
This patch adds two macros for construction of the
frame_and_sectors field in blkif messages, to eliminate the
"magic shifts" in the blkif code.
It also increases the number of bits representing the sector
number within a page, from 3 to 5, to allow page sizes up to
16K (needed for IA64).
Tested to still work on x86.
Signed-off-by: Matthew Chapman <matthewc@hp.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 09:16:25 +0000 (09:16 +0000)]
While merging my development tree with the latest hg tree I noticed that
VMX support was broken. When you boot an unmodified Linux kernel it gets
stuck in the "Calibrating delay" loop. The reason for this is that the
vmx code is repeatedly delivering timer interrupts.
Correcting the MILLISECS() and friends macros to return s_time_t instead
of ULL fixes this problem. The other changes are just to get rid of
redundant code and variables.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
ach61@arcadians.cl.cam.ac.uk [Sun, 31 Jul 2005 21:45:52 +0000 (21:45 +0000)]
PDB: roll out changes to ptrace.c and traps.c
djm@kirby.fc.hp.com [Fri, 29 Jul 2005 20:33:04 +0000 (13:33 -0700)]
Accomodate change to common alloc_domheap_page
djm@kirby.fc.hp.com [Fri, 29 Jul 2005 20:25:03 +0000 (13:25 -0700)]
Merge in minor ia64 Makefile change from xen-unstable
djm@kirby.fc.hp.com [Fri, 29 Jul 2005 18:52:33 +0000 (11:52 -0700)]
Updates to conform to latest xen-unstable
Fix ns16550 to again handle rx2600 console defaults
Signed-off-by Kevin Tian <Kevin.tian@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 11:21:39 +0000 (11:21 +0000)]
dom_mem_ops address_bitsd fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:40:39 +0000 (10:40 +0000)]
x86_32 build fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:37:30 +0000 (10:37 +0000)]
This patch renames balloon command to "set-mem", so instead of "xm
balloon", we will use "xm set-mem" (as suggested by TODO list)
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:36:53 +0000 (10:36 +0000)]
This patch does 2 jobs:
- Enforce the number of CPUs dom0 will take. See the new variable
"dom0-cpus" in xend-config.sxp (you will want to set this variable to
1 on SMP systems)
- Balloon out dom0 memory when creating domU, if there is not enough
free memory. The lowest level we will balloon out is configured via
the new variable "dom0-min-mem" in xend-config.sxp
I still have a doubt: where to put the code to enforce dom0-cpus. At
the moment I put it into
python/xen/xend/server/SrvDaemon.py, and hopefully that is resonable
enough. Any comment?
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:36:11 +0000 (10:36 +0000)]
Patch for 64-bit VMX guest destroy
64-bit VMX guest can't be destroyed without this patch, as guest page's
reference count problem.
This patch made two point of reference count correct:
1. In invlpg, the old page count need put.
2. There is a specail case for fl1's shadow reference count.=20
=20
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:34:45 +0000 (10:34 +0000)]
Here is our latest patch to enable the Xen tools to
build and work with IA64 Xen.
Signed-off-by: Matt Chapman <matthewc@hp.com>
Acked-by: Dan Magenheimer <dan.magenheimer@hp.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:31:22 +0000 (10:31 +0000)]
Attached patch adds a DMA zone to xen, also modifies xen_contig_memory()
to ask for DMA pages.
Signed-off-by: srparish@us.ibm.com
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:27:12 +0000 (10:27 +0000)]
This patch updates the CPU field in xm list for multi-vcpu domains.
When a dom runs on multiple physical cpus, the CPU field doesn't have
much meaning. The suggested fix was to replace the value with '-'.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:24:41 +0000 (10:24 +0000)]
... for dom0 if we know we'll need it. This is the xen
counterpart to the previous xenlinux patch which adds this
info to the kernel. Also adds some printk's.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:24:06 +0000 (10:24 +0000)]
... so it builds again and also add a note to the xen elf header
that this kernel should be booted in shadow-translated mode.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:23:07 +0000 (10:23 +0000)]
Really just basic preparation: switch over PAE builds to the new
shadow code, drop old dummy functions, add (fewer) new ones.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:22:03 +0000 (10:22 +0000)]
fix x86_64 domain0 /dev/mem issue
x86_64 miss the define of ARCH_HAS_DEV_MEM, that causes
/drivers/char/mem.c to not show low 1M memory correctly.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
ach61@arcadians.cl.cam.ac.uk [Thu, 28 Jul 2005 21:32:13 +0000 (21:32 +0000)]
PDB: add some additional files